package com.kgcx.common.log.sensitive;

import com.kgcx.common.log.CryptoConvertConfig.DefaultNameCryptoConvertor;
import com.kgcx.common.log.ICryptoConvertor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by panjin on 2017/11/23.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD})
public @interface SensitiveName {

    public Class<? extends ICryptoConvertor> convertor() default DefaultNameCryptoConvertor.class;
}
